export default {
	data () {
		return {
			naviHeight: 0
		}
	},
	methods: {
		
	},
	onLoad () {
		this.$bus.$on('setNaviHeight', (height) => {
			if (this.naviHeight) return;
			this.naviHeight = height;
			// console.log('自定义事件触发')
		})
	},
	onHide () {
		this.$bus.$off('setNaviHeight');
	},
	onUnload () {
		// console.log('onUnload');
		this.$bus.$off('setNaviHeight');
	},
}